package com.example.applets.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 访问日志
 * </p>
 *
 * @author 云烟成雨丶
 * @since 2020-10-16
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("w_loginfo")
@ApiModel(value="Loginfo对象", description="访问日志")
public class Loginfo implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    private String uname;

    @ApiModelProperty(value = "访问时间")
    private LocalDateTime visittime;

    @ApiModelProperty(value = "访问地址")
    private String visiturl;

    private Integer stoptime;

    @ApiModelProperty(value = "离开时间")
    private LocalDateTime leavetime;

    @ApiModelProperty(value = "ip")
    private String ip;

    @ApiModelProperty(value = "客户端类型")
    private String useragent;


}
